package models_sports

// FootballCompetition 足球赛事
type FootballCompetition struct {
	ID             int    `json:"id" gorm:"primaryKey;comment:赛事ID" `
	CategoryID     int    `json:"category_id"  gorm:"type:int(11);comment:分类id"`
	CountryID      int    `json:"country_id" gorm:"type:int(11);comment:国家id"`
	NameZh         string `json:"name_zh" gorm:"type:varchar(255);comment:中文名称"`
	NameZht        string `json:"name_zht" gorm:"type:varchar(255);comment:粤语名称"`
	NameEn         string `json:"name_en" gorm:"type:varchar(255);comment:英文名称"`
	ShortNameZh    string `json:"short_name_zh" gorm:"type:varchar(255);comment:中文简称"`
	ShortNameZht   string `json:"short_name_zht" gorm:"type:varchar(255);comment:粤语简称"`
	ShortNameEn    string `json:"short_name_en" gorm:"type:varchar(255);comment:英文简称"`
	Logo           string `json:"logo" gorm:"type:varchar(255);comment:赛事logo"`
	Type           int    `json:"type" gorm:"type:int(11);comment:赛事类型"`
	TitleHolder    string `json:"title_holder" gorm:"type:varchar(255);comment:卫冕冠军JSON字段说明 [10181, 6], [球队id,赛事冠军次数] "`
	MostTitles     string `json:"most_titles" gorm:"type:varchar(255);comment:夺冠最多球队 [[10135], 20], [[球队id],赛事冠军次数] "`
	Newcomers      string `json:"newcomers" gorm:"type:varchar(255);comment:晋级淘汰球队 [[10021], [10411]], [[低级赛事升级球队id], [高级赛事降级球队球队id]]"`
	Divisions      string `json:"divisions" gorm:"type:varchar(255);comment:赛事层级"`
	HostCountry    string `json:"country" gorm:"type:varchar(255);comment:国家"`
	HostCity       string `json:"city" gorm:"type:varchar(255);comment:城市"`
	PrimaryColor   string `json:"primary_color" gorm:"type:varchar(255);comment:主颜色"`
	SecondaryColor string `json:"secondary_color" gorm:"type:varchar(255);comment:次颜色"`
	UpdatedAt      int    `json:"updated_at" gorm:"type:int(11);comment:更新时间"`
}
